/*
 * Ball.h
 *
 *  Created on: Jun 4, 2011
 *      Author: madboyka
 */

#ifndef BALL_H_
#define BALL_H_
#include "Obstacle.h"
#include "ElementData.h"
namespace obstacles
{
class Ball: public Obstacle {
public:
	Ball();
	virtual ~Ball();
	void setPosition(float x, float y, float z);
	palVector3 getPosition();
	void createPhysics();
	int getElementCount();
	ElementData getElementData(int);
	void setScale(float,float,float);
	void setMass(float);
private:
	palSphere *body;
	palVector3 *position;
	float size;
	float mass;
};
}
#endif /* BALL_H_ */
